package adapter;

/**
 * @功能
 * @创建时间 2020/5/3
 */
public class Client {
    public void test1(Target t1){
        t1.handelReq();
    }
    public static void main(String[] args) {
    Client c = new Client();
    Adaptee a =new Adaptee();
  //  Target t = new Adapter();
    Target t = new Adapter2(a);
    c.test1(t);
    }
}
